const API_CONFIG = [
    {
        name: "addUpdate",
        setCommonParam: true,
        namespace: "org",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/department/update",
        desc: "新增/编辑组织"
    },
    {
        name: "deleteOrg",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/department/del",
        desc: "删除组织"
    },
    {
        name: "getDepartmentList",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/department/departmentTree",
        desc: "获取部门树结构"
    },
    {
        name: "getDepartmentListOperate",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/department/departmentTree",
        desc: "获取部门树结构"
    },
    {
        name: "getMember",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/pageByDepartment",
        desc: "获取组织架构成员"
    },
    {
        name: "memberListNotPage",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/departmentUserList",
        desc: "获取组织架构成员-无分页"
    },
    {
        name: "member/freeze",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/disable",
        desc: "冻结成员"
    },
    {
        name: "member/unfreeze",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/enable",
        desc: "解冻成员"
    },
    {
        name: "member/delete",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/del",
        desc: "删除成员"
    },
    {
        name: "member/setDepartment",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/editForDepartment",
        desc: "调整成员部门"
    },
    {
        name: "member/updated",
        setCommonParam: true,
        namespace: "org",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/user/update",
        desc: "新增/编辑成员"
    },
    {
        name: "member/roles",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/role/roleByUserId",
        desc: "查询用户角色"
    },
    {
        name: "member/getInfo",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/get",
        desc: "根据id查用户信息"
    },
    {
        name: "reset/password",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/editPassword/reset",
        desc: "重置密码"
    },
    {
        name: "setDataRange",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/user/updateGovernmentIds",
        desc: "设置数据范围"
    },
    {
        name: "getGovernmentList",
        setCommonParam: true,
        namespace: "org",
        method: "post",
        params: {},
        path: "/management/government/link",
        desc: "根据id获取联动每级信息"
    },
    {
        name: "getUserInfoByIds",
        setCommonParam: true,
        namespace: "org",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/user/listByIds",
        desc: "根据id查多个用户信息"
    }
];
export default API_CONFIG;
